using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DiemMonHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: DiemMonHocEntity</para>
	/// <para>Description: ClassDiemMonHocEntity store data of table DiemMonHoc</para>
	///</summary>

	[DataContract]
	public partial class DiemMonHocEntity{


		private bool _InternalChangedIsNullDiemMonHoc_ID=true;
		private bool _IsNullDiemMonHoc_ID=true;
		private bool _InternalChangedIsNullSinhVienMonHoc_ID=true;
		private bool _IsNullSinhVienMonHoc_ID=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullLanThi=true;
		private bool _IsNullLanThi=true;
		private bool _InternalChangedIsNullDiem=true;
		private bool _IsNullDiem=true;
		private bool _InternalChangedIsNullLoaiDiem_ID=true;
		private bool _IsNullLoaiDiem_ID=true;
		private int _DiemMonHoc_ID;
		private int _SinhVienMonHoc_ID;
		private int _MonHoc_ID;
		private int _SinhVien_ID;
		private Byte _LanThi;
		private Decimal _Diem;
		private int _LoaiDiem_ID;
		[DataMember]
		public bool IsNullDiemMonHoc_ID{
			get{return _IsNullDiemMonHoc_ID;}
			set{if(!_InternalChangedIsNullDiemMonHoc_ID)_IsNullDiemMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVienMonHoc_ID{
			get{return _IsNullSinhVienMonHoc_ID;}
			set{if(!_InternalChangedIsNullSinhVienMonHoc_ID)_IsNullSinhVienMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullLanThi{
			get{return _IsNullLanThi;}
			set{if(!_InternalChangedIsNullLanThi)_IsNullLanThi=value;}
		}
		[DataMember]
		public bool IsNullDiem{
			get{return _IsNullDiem;}
			set{if(!_InternalChangedIsNullDiem)_IsNullDiem=value;}
		}
		[DataMember]
		public bool IsNullLoaiDiem_ID{
			get{return _IsNullLoaiDiem_ID;}
			set{if(!_InternalChangedIsNullLoaiDiem_ID)_IsNullLoaiDiem_ID=value;}
		}
		[DataMember]
		public int DiemMonHoc_ID{
			get{return _DiemMonHoc_ID;}
			set{
				_DiemMonHoc_ID=value;
				if(_DiemMonHoc_ID!=null){
					_IsNullDiemMonHoc_ID=false;
					_InternalChangedIsNullDiemMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVienMonHoc_ID{
			get{return _SinhVienMonHoc_ID;}
			set{
				_SinhVienMonHoc_ID=value;
				if(_SinhVienMonHoc_ID!=null){
					_IsNullSinhVienMonHoc_ID=false;
					_InternalChangedIsNullSinhVienMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public Byte LanThi{
			get{return _LanThi;}
			set{
				_LanThi=value;
				if(_LanThi!=null){
					_IsNullLanThi=false;
					_InternalChangedIsNullLanThi=true;
				}
			}
		}
		[DataMember]
		public Decimal Diem{
			get{return _Diem;}
			set{
				_Diem=value;
				if(_Diem!=null){
					_IsNullDiem=false;
					_InternalChangedIsNullDiem=true;
				}
			}
		}
		[DataMember]
		public int LoaiDiem_ID{
			get{return _LoaiDiem_ID;}
			set{
				_LoaiDiem_ID=value;
				if(_LoaiDiem_ID!=null){
					_IsNullLoaiDiem_ID=false;
					_InternalChangedIsNullLoaiDiem_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DiemMonHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

